<template>
  <div>
  </div>
</template>

<script>
import axios from "axios"
import { onMounted } from '@vue/runtime-core';
export default {
    setup(){
        const lsit=()=>{axios({url:"http://localhost:5000/data",method:"get"}).then(res=>{
            console.log(res);
        })
    }
    onMounted(()=>{
        lsit()
    })
    return{
        lsit
    }

}
}
</script>

<style>

</style>